package com.tiger.pulldata;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@ComponentScan(basePackages = {"com.tiger.pulldata", "com.tiger.db", "com.tiger.cache", "com.tiger.utils"})
@MapperScan("com.tiger.db")
@EnableScheduling
@EnableAsync
public class PullDataApplication {


    public static void main(String[] args) {
		SpringApplication.run(PullDataApplication.class, args);
	}

}
